Le mode silencieux permet l'installation / mise à jour de Dollar Universe Application Server en mode batch sans intervention de l'utilisateur.
Une instance initiale doit être installée ou mise à jour interactivement pour enregistrer les paramètres d'installation / mise à jour dans un fichier texte qui sera utilisé pour l'installation / mise à jour silencieuse.
Installation :
./unirun -i –r –f fichier
Mise à jour :
./unirun –u –r –f fichier
La commande ci-dessus lance une installation / mise à jour interactive. Les réponses sont enregistrées dans le fichier de sortie spécifié par l'argument -f.
Si aucun fichier de sortie n'est spécifié, les réponses sont enregistrées dans le fichier install.file situé dans le répertoire du kit.
Exemple de fichier install.file pour une installation interactive
# CLUSTERTYPE :
CLUSTERTYPE no
# UVMSNOW : Do you want to register to the UVMS now
UVMSNOW y
# CENTRALHOST : Univiewer Management Server hostname
CENTRALHOST vmstluni99.automic.com
# CENTRALPORT : Univiewer Management Server port number
CENTRALPORT 4184
# CENTRALLOGIN : Univiewer Management Server administrator login ID
CENTRALLOGIN admin
# CENTRALPASSWD : Univiewer Management Server administrator password
CENTRALPASSWD LjY+DCoGUEE8JTwXIBVZVyw5
# COMPANY : DUAS company name
COMPANY TST600
# NODE : DUAS node name
NODE default_value
# NODETAG : DUAS node tags
NODETAG
# NODEHOST : DUAS hostname
NODEHOST default_value
# INSTALLDIR : DUAS root directory (full path)
INSTALLDIR /var/opt/AUTOMIC/DUAS/TST600_vmstluni99.automic.com
# AREA_A : Do you want to configure DUAS Application area (A)?
AREA_A n
# AREA_I : Do you want to configure DUAS Integration area (I)?
AREA_I n
# AREA_S : Do you want to configure DUAS Simulation area (S)?
AREA_S n
# INSTALL_SAP : Do you want to remove(r), keep(k) or activate(a) a manager for SAP solutions ("r", "k" or "a", default is "k")?
INSTALL_SAP k
# CONFIG_SAP : If you have already defined a configuration, give the full path of the folder containing your "uxjcs.ini" file or hit return.
CONFIG_SAP
# INSTALL_OAPP : Do you want to remove(r), keep(k) or activate(a) a manager for Oracle Application ("r", "k" or "a", default is "k")?
INSTALL_OAPP k
# CONFIG_OAPP : If you have already defined a configuration, give the full path of the folder containing your
"uxoapp_db_user.xml" file or hit return.
CONFIG_OAPP
# INSTALL_JAVA : Do you want to remove(r), keep(k) or activate(a) a manager for Java ("r", "k" or "a", default is "k")?
INSTALL_JAVA k
# JAVA_PATH : Give the full path of the command?
JAVA_PATH
# PORTDEF : Do you want to use default port numbers?
PORTDEF n
# PORT : Enter the DUAS TCP port base number
PORT 12600
# ADMUSER : Give the already existing username, by default root user will be administrator
ADMUSER root
# EXECPATH : Enter the full path to the binaries directory
EXECPATH default_value
# LOGPATH : Enter the full path to the log directory
LOGPATH default_value
Pour mettre à jour Dollar Universe Application Server, les informations suivantes sont enregistrées dans le fichier install.file :
Exemple de fichier install.file pour une mise à jour interactive :
# ENVFILE :
ENVFILE /var/opt/AUTOMIC/DUAS/<societe>_<noeud>/unienv.ksh
# UPGRADETYPE :
UPGRADETYPE DUAS_V6
Exécutez la commande ci-dessous :
./unirun –i –s –f fichier
Exécutez la commande ci-dessous :
./unirun –u –s –f fichier
L'argument -f est obligatoire pour la phase d'installation / mise à jour.